package com.starinside.wp.repository;

import com.starinside.wp.domain.comment.ExtCommentsSupport;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ExtCommentsRepository extends JpaRepository<ExtCommentsSupport, String> {

    public ExtCommentsSupport findByResId(String resId);

    public ExtCommentsSupport findByResTypeAndResId(int resType, String resId);

}
